package com.hxgz.steel.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("商品评论表 对象")
public class ProductComments {
    private Long id;

    @ApiModelProperty("订单子表id")
    private Long orderItemId;

    @ApiModelProperty("评分（星星数）")
    private Integer grade;

    @ApiModelProperty("评论内容")
    private String comment;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8" )
    private Date createTime;

    private Date updateTime;

}